package di.service.annotation;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
@Component(value="se")
public class SystemServiceImp implements SystemService{
	/*@Resource(name="clientJavaSe")*/
	private JavaSeClass se;
	public JavaSeClass getSe() {
		return se;
	}
	/*@Resource(name="adminJavaSe")*/
	public void setSe(JavaSeClass se) {
		this.se = se;
	}
	@Resource(name="adminJavaSe")
	public void instanceMethod(JavaSeClass se){
		this.se=se;
	}
	@Override
	public void validate() {
		// TODO Auto-generated method stub	
		se.fileChek();
	}
	@Override
	public void streamCheck() {
		// TODO Auto-generated method stub
		se.fileSize();
	}
	

}
